import request from './request.js';
export default {

	get(url, data, header, timeout) {
		return request(url, data, 'GET', header, timeout)
	},
	post(url, data, header, timeout) {
		return request(url, data, 'POST', header, timeout)
	},
	put(url, data, header, timeout) {
		return request(url, data, 'PUT', header, timeout)
	},
	delete(url, data, header, timeout) {
		return request(url, data, 'DELETE', header, timeout)
	}
}